//
//  BaseTableViewController.h
//  Seven
//
//  Created by zhaoliang chen on 2017/11/15.
//  Copyright © 2017年 zhaoliang chen. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface BaseTableViewController : UITableViewController

@property(nonatomic,strong)UIButton* btnBack;

-(void)setNavigationTitle:(NSString *)title;
-(void)setNavigationTitle:(NSString *)title Color:(UIColor *)color;

-(UIButton*)addLeftNavigationBarButtonImage:(NSString *)image Title:(NSString *)title Target:(id)target Action:(SEL)action;
-(UIButton*)addRightNavigationBarButtonImage:(NSString *)image Title:(NSString *)title Target:(id)target Action:(SEL)action;
-(void)endEdit;
-(void)goBack;

- (void)addLeftButtons:(NSArray<UIBarButtonItem *> *)buttonsArray;
- (void)addRightButtons:(NSArray<UIBarButtonItem *> *)buttonsArray;

@end
